Connectors

A connector is a link between ScriptRunner Connect and a third-party service that ScriptRunner Connect manages on your behalf.

You can set up connectors without being in a workspace; these connectors become global. You can then associate global connectors to multiple workspaces (creating API connections) and apply different configurations for different workspaces.

More to come  😊

Want a specific connector added to ScriptRunner Connect? Contact us!

Available ScriptRunner Connect Connectors

ScriptRunner Connect is equipped with connectors for the following apps and services:

ConnectorAppAuth TypeEvent Listeners
Azure DevOpsOAuth 2.0(tick)
Bitbucket CloudOAuth 2.0(tick)
Bitbucket On-PremiseOAuth(tick)
Confluence CloudOAuth 2.0(error) 1
Confluence On-PremiseOAuth(tick)
GitHubOAuth 2.0(tick)
GitLabOAuth 2.0(tick)
Google CalendarOAuth 2.0(error) 2
Google SheetsOAuth 2.0(error) 2
Jira CloudOAuth 2.0(tick)
Jira On-PremiseJira On-PremiseOAuth(tick)
Jira Service Management On-Premise(tick)
Jira Service Management On-Premise Assets(error)
Tempo Timesheets On-Premise(error)
Tempo Planner On-Premise(error)
Jira Service Management CloudOAuth 2.0(tick) 3
Jira Service Management Cloud AssetsBasic (API Token)(error)
MicrosoftTeamsOAuth 2.0(tick)
monday.comOAuth 2.0(tick)
NetSuiteOAuth 2.0(tick)
OpsgenieBasic (API Token)(tick)
SalesforceOAuth 2.0(tick)
ServiceNowOAuth 2.0(tick)
SlackApp credentials(tick)
StatuspageBasic (API Token)(tick)
Tempo CloudOAuth 2.0(error)
TrelloBasic (API Token)(error) 4
ZendeskOAuth 2.0(tick)
ZoomApp credentials(tick)

Confluence Cloud officially does not support webhooks. As a workaround, you should be able to use a third-party add-on to register a webhook using the generic event listener in ScriptRunner Connect. Alternatively, you can also use ScriptRunner for Confluence Cloud to set up an event listener in Confluence and call a generic event listener in ScriptRunner Connect whenever the event gets fired.

Here is an example of how you would write a Groovy script in ScriptRunner that calls a Generic Event Listener HTTP endpoint in ScriptRunner Connect. This example demonstrates how to listen to the Label Added event by extracting a couple of event properties and then sending them to ScriptRunner Connect as part of the HTTP body:

groovy
def pageTitle = labeled.asType(Map).title def pageId = labeled.asType(Map).id def labelTitle = label.asType(Map).title logger.info("Page Title: ${pageTitle}") logger.info("Page ID: ${pageId}") logger.info("Label Title: ${labelTitle}") def response = post("GENERIC_HTTP_ENDPOINT_URL") .body( confPageTitle: pageTitle, confPageId: pageId, labelTitle: labelTitle) .asObject(Map)


2 Google products don't support webhooks, but as a workaround, you can write a Google apps script that triggers for events you are interested in, which, in turn, calls the generic event listener to listen for events on the ScriptRunner Connect side.

3 For the most part, Jira Service Management Cloud reuses base Jira event types.

4 Currently, Trello webhooks are not supported, but you can use Trello's API to set up webhooks. Here is a template that demonstrates this use case.

Generic API Connector

You can also use a generic API connector and generic event listener to connect to and listen to events from unlisted apps and services.

You can also use basic/fixed authentication instead of OAuth for most services. To use fixed authentication, create a generic API connection and either construct the Managed API manually for the generic API connection or use the Fetch API directly.

On this page